package com.tianji.chat.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel(description = "互动回答信息")
public class ChatDTO {
    @ApiModelProperty("提问内容")
    @NotNull(message = "提问内容不能为空")
    private String query;

    @ApiModelProperty("回答内容")
    private String response;


    @ApiModelProperty("对话所属于的互动任务id")
    @NotNull(message = "任务id不能为空")
    private Long taskId;


}